package com.atguigu.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ Author：Aijinhui
 * @ Description：
 * @ Date：2024-05-26-20:19
 */
@SpringBootApplication
@EnableDiscoveryClient
public class Main9528 {
    public static void main(String[] args)
    {
        SpringApplication.run(Main9528.class,args);
    }
}

// http://localhost:9528/pay/nacos/333 可以通过网关9528 正常访问到9001 ,若异常可以统一返回出网关定义的异常